package com.pmcc.yn.entity;

import com.pmcc.core.entity.UUIDEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author zhangjunjie 2019/4/29
 * 通知记录
 */
@Entity
@Table(name = "js_notice")
@ApiModel(value = "通知记录" ,description = "通知记录")
public class NoticeInfo extends UUIDEntity {
    @Column(name = "notice_id")
    @ApiModelProperty(value = "noticeId", required = true)
    private String noticeId;//通知人id

    @Column(name = "content")
    @ApiModelProperty(value = "content", required = true)
    private String content;//通知内容

    @Column(name = "notice_time")
    @ApiModelProperty(value = "noticeTime", required = true)
    private Date noticeTime;//通知时间

    @Column(name = "style")
    @ApiModelProperty(value = "style", required = true)
    private String style;//通知方式

    @Column(name = "notifier_type")
    @ApiModelProperty(value = "notifierType", required = true)
    private String notifierType;//通知人的类型


    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getNoticeId() {
        return noticeId;
    }

    public void setNoticeId(String noticeId) {
        this.noticeId = noticeId;
    }

    public Date getNoticeTime() {
        return noticeTime;
    }

    public void setNoticeTime(Date noticeTime) {
        this.noticeTime = noticeTime;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }

    public String getNotifierType() {
        return notifierType;
    }

    public void setNotifierType(String notifierType) {
        this.notifierType = notifierType;
    }

}
